#pragma once
#include <vector>

#define __STD std::
#define INF 999999999

enum
{
	CHESS_SIZE = 15,
	SCREEN_WIDTH = 50,
	SCREEN_HEIGHT = 25
};

enum ChessType
{
	None = -1,
	Black = 1,
	White = 0
};

struct CHESS_POINT
{
	int x, y;
	CHESS_POINT(int tx = 0, int ty = 0){ x = tx, y = ty; }
};

struct QUINTET
{
	CHESS_POINT points[5];
};

struct NTUPLE
{
	__STD vector<CHESS_POINT> points;
};

enum ChessScore
{
	Five = 100000,
	LiveFour = 10000,
	BlockedFour = 2000,
	LiveThree = 1000,
	BlockedThree = 200,
	LiveTwo = 100,
	BlockedTwo = 20,
	LiveOne = 10,
	BlockedOne = 2,
};

typedef ChessType(*Board)[CHESS_SIZE];